<template>
  <div class="resize-box-vertical">
    <div class="resize-left-vertical"></div>
    <div class="resize-line-vertical"
      v-resize="{ min: 20, hoverColor: '#88f', lineColor: '#ccc', showHoverColor: false, direction: 'vertical' }">
    </div>
    <div class="resize-middle-vertical"></div>
    <div class="resize-line-vertical" v-resize="{ direction: 'vertical' }">
    </div>
    <div class="resize-right-vertical"></div>
  </div>
</template>

<script setup lang="ts">
</script>

<style scoped>
.resize-box-vertical {
  height: 500px;
}

.resize-left-vertical {
  background-color: skyblue;
  height: calc(40% - 5px);
}

.resize-middle-vertical {
  background-color: pink;
  height: calc(30% - 5px);
}

.resize-line-vertical {
  height: 5px;
  background-color: #ccc;
  cursor: row-resize;
}

.resize-right-vertical {
  background-color: cadetblue;
  height: 30%;
}
</style>